import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import FormPage from './views/FormPage.vue'
import User from './views/User.vue'
import Tree from './views/Tree.vue'
import Bilibili from './views/Bilibili.vue'
import Sku from './views/Sku.vue'
import Adjoin from './views/Adjoin.vue'
import photo from './views/photo.vue'
Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'home',
    component: Home
  }, {
    path: '/form',
    name: 'form',
    component: FormPage
  }, {
    path: '/user',
    name: 'user',
    component: User
  }, {
    path: '/tree',
    name: 'tree',
    component: Tree
  }, {
    path: '/bilibili',
    name: 'bilibili',
    component: Bilibili
  }, {
    path: '/sku',
    name: 'sku',
    component: Sku
  }, {
    path: '/Adjoin',
    name: 'Adjoin',
    component: Adjoin
  }, {
    path: '/photo',
    name: 'photo',
    component: photo
  }]
})
